﻿using System.Data;
using System.Collections.Generic;
using IDAL;
using Model;

namespace BLL
{
    public class TAssembleStep
    {
        private static readonly ITAssembleStep dal = DALFactory.DataAccess.CreateTAssembleStep();

        public bool TAssembleStepItem_Insert(TAssembleStepInfo asi, DataTable itemdt)
        {
            return dal.TAssembleStepItem_Insert(asi, itemdt);
        }

        public IList<TAssembleStepInfo> GetTAssembleStepbySN(string productSN)
        {
            return dal.GetTAssembleStepbySN(productSN);
        }
    }
}
